package cn.topevery.garden.dal.dao;

import cn.topevery.garden.entity.dto.ProjMoneyDTO;
import cn.topevery.garden.entity.po.ProjSituationRecord;
import cn.topevery.garden.entity.query.ProjSituationRecordQuery;
import cn.topevery.garden.entity.vo.ProjSituationRecordMoneyVO;
import cn.topevery.garden.entity.vo.ProjSituationRecordVO;
import cn.topevery.garden.framework.base.BaseDao;
import hw.topevery.framework.db.entity.DataPager;

import java.util.List;

/**
 * 项目前期情况记录表
 *
 * @author code-generate
 * @date 2022-11-02
 */
public interface ProjSituationRecordDao extends BaseDao<ProjSituationRecord> {

    /**
     * 根据projId获得实体
     *
     * @param projId
     * @return
     */
    ProjSituationRecord getByProjId(String projId);

    /**
     * 获取列表
     *
     * @param query
     */
    DataPager<ProjSituationRecordVO> listPage(ProjSituationRecordQuery query);

    List<ProjSituationRecordVO> list(ProjSituationRecordQuery query);

    ProjSituationRecordMoneyVO getEstimateMoney(ProjMoneyDTO moneyDTO);
}
